/*!
 * jQuery UI CSS Framework 1.8.20
 *
 * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Theming/API
 */

.ui-state-disabled { cursor: default !important; }
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }

/* Interaction states
----------------------------------*/
#ui-datepicker-div{width: 240px;}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 0; color: #625841; padding:10px 0; min-width:20px}
.widget_calendar .ui-state-default, .widget_calendar .ui-widget-content .ui-state-default, .widget_calendar .ui-widget-header .ui-state-default {padding:10px 0;}
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #5a5c5c; text-decoration: none; }
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { background: #75a741; color: #5a5c5c; }
.ui-state-hover a, .ui-state-hover a:hover { color: #5a5c5c; text-decoration: none; }
#ui-datepicker-div .ui-state-active, #ui-datepicker-div .ui-widget-content .ui-state-active, #ui-datepicker-div .ui-widget-header .ui-state-active {
  border: 0 none;
  background: #dbd5ca;
  background: linear-gradient(top, #dbd5ca, #dfd7c9);
  background: -webkit-linear-gradient(top, #dbd5ca, #dfd7c9);
  background: -moz-linear-gradient(top, #dbd5ca, #dfd7c9);
  background: -ms-linear-gradient(top, #dbd5ca, #dfd7c9);
  color: #000; }

.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #5a5c5c; text-decoration: none; }
.ui-widget :active { outline: none; }

/* Interaction Cues
----------------------------------*/
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight  {
  background: #75a741;
  background: linear-gradient(top, #a9cc7b, #75a741);
  background: -webkit-linear-gradient(top, #a9cc7b, #75a741);
  background: -moz-linear-gradient(top, #a9cc7b, #75a741);
  background: -ms-linear-gradient(top, #a9cc7b, #75a741);
  color: #fff;
}
.ui-state-highlight.ui-state-active { background:#ffca00;}
.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #404040; }
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled {opacity: .5; background-image: none; }

/* Misc visuals
----------------------------------*/

.ui-datepicker {
  padding:0;
  display: none;
  border:none;
  background:none !important;
  overflow:hidden;
  -webkit-box-shadow: 0 3px 5px 0px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0 3px 5px 0px rgba(0, 0, 0, 0.4);
  box-shadow: 0 3px 5px 0px rgba(0, 0, 0, 0.4);
  .border-radius(@border-radius-input);
}
.widget_calendar .ui-datepicker {overflow:visible; -webkit-box-shadow: none; box-shadow: none;}
.ui-datepicker-inline.ui-datepicker {-webkit-box-shadow: 0 1px 1px 0px rgba(0, 0, 0, 0.3); box-shadow: 0 1px 1px 0px rgba(0, 0, 0, 0.3);}
.widget_calendar .ui-datepicker-inline.ui-datepicker {-webkit-box-shadow: none; box-shadow: none;}
.ui-datepicker .ui-datepicker-header {
  position:relative;
  padding:0;
  .border-radius-top(@border-radius-input);
  background: rgb(252,243,212);
  background: url();
  background: -moz-linear-gradient(top,  rgba(252,243,212,1) 0%, rgba(230,208,149,1) 4%, rgba(196,144,74,1) 95%, rgba(187,134,69,1) 97%, rgba(199,166,127,1) 99%, rgba(232,227,216,1) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(252,243,212,1)), color-stop(4%,rgba(230,208,149,1)), color-stop(95%,rgba(196,144,74,1)), color-stop(97%,rgba(187,134,69,1)), color-stop(99%,rgba(199,166,127,1)), color-stop(100%,rgba(232,227,216,1)));
  background: -webkit-linear-gradient(top,  rgba(252,243,212,1) 0%,rgba(230,208,149,1) 4%,rgba(196,144,74,1) 95%,rgba(187,134,69,1) 97%,rgba(199,166,127,1) 99%,rgba(232,227,216,1) 100%);
  background: -o-linear-gradient(top,  rgba(252,243,212,1) 0%,rgba(230,208,149,1) 4%,rgba(196,144,74,1) 95%,rgba(187,134,69,1) 97%,rgba(199,166,127,1) 99%,rgba(232,227,216,1) 100%);
  background: -ms-linear-gradient(top,  rgba(252,243,212,1) 0%,rgba(230,208,149,1) 4%,rgba(196,144,74,1) 95%,rgba(187,134,69,1) 97%,rgba(199,166,127,1) 99%,rgba(232,227,216,1) 100%);
  background: linear-gradient(to bottom,  rgba(252,243,212,1) 0%,rgba(230,208,149,1) 4%,rgba(196,144,74,1) 95%,rgba(187,134,69,1) 97%,rgba(199,166,127,1) 99%,rgba(232,227,216,1) 100%);
  /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcf3d4', endColorstr='#e8e3d8',GradientType=0 );*/
}
.widget_calendar .ui-datepicker .ui-datepicker-header {margin:0 -15px 0 -15px; .border-radius-top(@border-radius);}

.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
  position:absolute;
  top: 12px;
  width: 23px;
  height: 23px;
  cursor: pointer;
  background-image: url(images/calendar_arrows.png);
  background-repeat: no-repeat;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
}
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-prev-hover { left:12px; background-position:left top; background-color: transparent;}
.ui-datepicker .ui-datepicker-next, .ui-datepicker .ui-datepicker-next-hover { right:12px;  background-position: right top; background-color: transparent;}

.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px;  }
.ui-datepicker .ui-datepicker-title {
  height: 46px;
  line-height: 44px;
  text-align: center;
  color: #f6ffdf;
  text-shadow: 1px 1px 1px #cfa96d;
  font-size: @font-size * 1.24;
}
.ie8 .ui-datepicker .ui-datepicker-title {color: #866435;}

.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year { width: 49%;}
.ui-datepicker table {width: 100%; border-collapse: collapse;}
.ui-datepicker th { padding: .7em .3em; text-align: center; border: 0;  }
.ui-datepicker td { border: 0; padding: 0; }
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: center; text-decoration: none; }
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }

.ui-datepicker-calendar .ui-state-disabled, .ui-datepicker-calendar .ui-state-disabled span {opacity: 1; color:#BBAE9F;}

.ui-datepicker-calendar {background:#fff;}
.widget_calendar .ui-datepicker-calendar {background:none;}

.ui-datepicker-calendar thead {
  color:#9B9060;
  text-transform:uppercase;
}
.ui-datepicker-calendar thead th {
  padding:4px 0 2px;
  font-size: @font-size - 3;
}
.widget_calendar .ui-datepicker-calendar thead th {
  padding:7px 0 10px;
  text-shadow: none;
  text-transform: none;
  font-size: @font-size;
}

.ui-datepicker-calendar tbody td,
.ui-datepicker-calendar tbody td.ui-state-disabled{
  padding:0;
  min-width:15px;
  text-align:center;
  border:none;
  background: #f4f2ed;
  background: linear-gradient(top, #f4f2ed, #eeeae2);
  background: -webkit-linear-gradient(top, #f4f2ed, #eeeae2);
  background: -moz-linear-gradient(top, #f4f2ed, #eeeae2);
  background: -ms-linear-gradient(top, #f4f2ed, #eeeae2);
  border: 1px solid #d6d0c7;
}
.widget_calendar .ui-datepicker-calendar tbody td  {
  padding:0;
  text-align:center;
  font-size: @font-size + 1;
}
.widget_calendar .ui-datepicker-calendar td span,
.widget_calendar .ui-datepicker-calendar td a{
  border-top:1px solid transparent;
  border-left:1px solid transparent;
}
.widget_calendar .ui-datepicker-calendar td.ui-datepicker-today  a{
  background: #75a741;
  background: linear-gradient(top, #a9cc7b, #75a741);
  background: -webkit-linear-gradient(top, #a9cc7b, #75a741);
  background: -moz-linear-gradient(top, #a9cc7b, #75a741);
  background: -ms-linear-gradient(top, #a9cc7b, #75a741);
  text-shadow: 1px 1px 1px #68854d;
  border-top:1px solid #9ab66e;
  border-left:1px solid #89ac58;
}
.widget_calendar .ui-datepicker-calendar td.ui-state-highlight a,
.widget_calendar td.ui-datepicker-today.ui-state-highlight  a{
  background: #dbd5ca;
  background: linear-gradient(top, #dbd5ca, #dfd7c9);
  background: -webkit-linear-gradient(top, #dbd5ca, #dfd7c9);
  background: -moz-linear-gradient(top, #dbd5ca, #dfd7c9);
  background: -ms-linear-gradient(top, #dbd5ca, #dfd7c9);
  text-shadow: 0 1px 1px rgba(255,255,255,0.75) !important;
  border-top:1px solid #a49a88;
  border-left:1px solid #bfb7aa;
}